package cn.cs.yangtai.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (Orderdetails)实体类
 *
 * @author makejava
 * @since 2024-12-12 09:22:27
 */
@Data
@Schema(name = "订单商品详情")
@AllArgsConstructor
@NoArgsConstructor
public class Orderdetails implements Serializable {
    private static final long serialVersionUID = -48790315314111331L;
/**
     * 订单详情id
     */
@Schema(description = "订单详情id",required = true)
    private Integer dId;
/**
     * 订单id
     */
@Schema(description = "订单id",required = true)
    private Integer dOrderId;
/**
     * 商品id
     */
@Schema(description = "商品id",required = true)
    private Integer dCId;
/**
     * 商品数量
     */
@Schema(description = "商品数量",required = true)
    private Integer dQuantity;
/**
     * 商品价格*数量
     */
@Schema(description = "商品价格",required = true)
    private Double dPrice;
/**
     * 备选属性1
     */
    private String dBei;
/**
     * 备选属性2
     */
    private String dXuan;


    public Integer getDId() {
        return dId;
    }

    public void setDId(Integer dId) {
        this.dId = dId;
    }

    public Integer getDOrderId() {
        return dOrderId;
    }

    public void setDOrderId(Integer dOrderId) {
        this.dOrderId = dOrderId;
    }

    public Integer getDCId() {
        return dCId;
    }

    public void setDCId(Integer dCId) {
        this.dCId = dCId;
    }

    public Integer getDQuantity() {
        return dQuantity;
    }

    public void setDQuantity(Integer dQuantity) {
        this.dQuantity = dQuantity;
    }

    public Double getDPrice() {
        return dPrice;
    }

    public void setDPrice(Double dPrice) {
        this.dPrice = dPrice;
    }

    public String getDBei() {
        return dBei;
    }

    public void setDBei(String dBei) {
        this.dBei = dBei;
    }

    public String getDXuan() {
        return dXuan;
    }

    public void setDXuan(String dXuan) {
        this.dXuan = dXuan;
    }

}

